Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NDocumentView<TDoc,TDocContent,TDocFormat,TDocFormatRegistry,TDocLoadSettings,TDocSaveSettings> Class / ShowMessage Method / ShowMessage(Object,Boolean) Method
The content of the message - can be text, image or any NOV widget.
Specifies whether to show a "Close" button or not.


In This Topic
    ShowMessage(Object,Boolean) Method
    In This Topic
    Shows a view message.
    Syntax
    'Declaration
     
    
    Public Overloads Sub ShowMessage( _
       ByVal content As System.Object, _
       Optional ByVal showCloseButton As System.Boolean _
    ) 
    'Usage
     
    
    Dim instance As NDocumentView(Of TDoc,TDocContent,TDocFormat,TDocFormatRegistry,TDocLoadSettings,TDocSaveSettings)
    Dim content As System.Object
    Dim showCloseButton As System.Boolean
     
    instance.ShowMessage(content, showCloseButton)
    public void ShowMessage( 
       System.object content,
       System.bool showCloseButton
    )

    Parameters

    content
    The content of the message - can be text, image or any NOV widget.
    showCloseButton
    Specifies whether to show a "Close" button or not.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also